package com.jzy.bxb.core.db.mongo;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 * Mongodb 配置
 *
 * @author JiangZhiYong
 * @date 2017-04-14 QQ:359135103
 */
@Root
public class MongoConfig {

	// mongodb配置地址
	@Element(required = true)
	private String url;

	//数据库名称
	@Element(required = true)
	private String dbName;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getDbName() {
		return dbName;
	}

	public void setDbName(String dbName) {
		this.dbName = dbName;
	}
	

}
